import Cookies from 'js-cookie'

const TokenKey = 'hm_hr_83_token'
const TimeKey = 'hm_hr_83_time'

// token 获取 存储 删除
export function getToken() {
  return Cookies.get(TokenKey)
}
export function setToken(token) {
  return Cookies.set(TokenKey, token)
}
export function removeToken() {
  return Cookies.remove(TokenKey)
}
//  当前时间戳
export function getTime() {
  return Cookies.get(TimeKey)
}
export function setTime(time) {
  return Cookies.set(TimeKey, time)
}
